import { ref } from 'vue'

export default function useStatusHook() {
	const statusList = ref([{
			id: 1,
			title: '全部',
			key: '全部'
		},
		{
			id: 2,
			title: '待支付',
			key: '待支付'
		},
		{
			id: 3,
			title: '待收货/自提',
			key: '待收货'
		},
		{
			id: 4,
			title: '退款',
			key: '退款'
		},
		{
			id: 5,
			title: '已收货',
			key: '已收货'
		}
	])
	
	const statusName = ref('全部')

	return { statusList, statusName }
}